home *** CD-ROM | disk | FTP | other *** search
/ Shareware Super Platinum 8 / Shareware Super Platinum 8.iso / mac / ARCHIVE / TAR4DOS.ZIP;1 / README < prev    next >
Encoding:
Text File  |  1994-06-11  |  2.3 KB  |  60 lines

  1. ---------
  2. TAR NOTES
  3. ---------
  4.  
  5. Tar is a way of bundling files into an archive for storage and
  6. transport. Note that tar does not perform compression. It only
  7. binds files together in one common file. Naturally tar archives
  8. have a '.tar' suffix:
  9.  
  10.                foobar.tar      /* an ordinary tar archive */
  11.  
  12.  
  13. Often tar archives are compressed with a separate program such as
  14. GNU gzip or compress.  Normally under Unix a tar file that is
  15. compressed will have a '.Z' suffix appended. A gzipped file will
  16. usually have a '.gz' suffix appended:
  17.  
  18.                foobar.tar.Z     /* a compressed tar file */
  19.                foobar.tar.gz    /* a gzipped tar file    */
  20.  
  21. Because of the 8.3 limit of MSDOS file names, these files can't
  22. be represented under msdos exactly. Usually the file names are
  23. modified:
  24.                foobar.taz      /* a compressed tar file */
  25.                foobar.tgz      /* a gzipped tar file    */
  26.  
  27. In order to extract these files you will have to first uncompress
  28. them, then you must un-tar them. The best program for uncompressing
  29. is GNU gzip which can handle either compressed or gzipped files 
  30. automatically. Get a copy of gzip for DOS if you find yourself
  31. needing to extract compressed tar files.
  32.  
  33. The recipe for extraction follows:
  34.  
  35.               gzip -d foobar.taz
  36.               tar xvf foobar.tar
  37.  
  38. That two step process will burst the archive for you. Note that
  39. the 'xvf' command tells tar to extract. If the archive is not
  40. compressed then you can skip the 'gzip' step above and proceed
  41. directly to extraction. Archives with suffixes ending in 'tar'
  42. are not compressed. To create a tar archive you must use 'cvf':
  43.  
  44.              tar cvf foobar.tar  test.c test.h test.man 
  45.  
  46. The above command will store test.h, test.c, and test.man in one
  47. archive called foobar.tar.  Gzip can then be used to compress it
  48. if you wish. If you wish to list the contents of a tar archive
  49. use the 'tvf' option to tell you what is inside:
  50.  
  51.              tar tvf foobar.tar  
  52.  
  53. See the enclosed file tar.man for a summary.  If you wish to
  54. learn more about Unix topics, install Linux for some hands-on
  55. experience. Linux is a multi-tasking 32 bit freeware version of
  56. the Unix operating system. It is available via BBS, CD-ROM, and
  57. FTP. Read the enclosed UNIX.TXT for more information.
  58.      
  59.  
  60.